import yaml


def read_config(path):
    with open(path, 'r') as f:
        file_data = f.read()
    return yaml.load(file_data, Loader=yaml.FullLoader)
